# @Time    : 2021/9/28 14:45
# @Author  : Xuran Li
# @File    : 爱心.py
# @Software: PyCharm

import  turtle

t = turtle.Turtle()


def curvemove():
    for i in range(200):
        t.right(1)
        t.forward(1)

def draw():
    t.speed(2)
    t.pensize(2)
    t.pencolor("red")  # 定义画笔颜色
    t.fillcolor("#FF6347")  # 定义填充颜色
    t.begin_fill()
    t.left(140)
    t.forward(111.65)
    curvemove()
    t.left(120)
    curvemove()
    t.forward(111.65)
    t.end_fill()

    t.up()
    t.goto(-350,200)
    t.color("cyan")
    t.write('L旺仔',font=('arial',40, 'normal') )
    t.hideturtle()
    t.exitonclick()

if __name__ == '__main__':
    draw()



